﻿<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Styles.Render("/Content/GameStore/css")
    @System.Web.Optimization.Scripts.Render("/bundles/GameStore")
    @Styles.Render("/Content/GameStore/css")
    @Styles.Render("/Content/GameStore/Admin/cs")
    @System.Web.Optimization.Scripts.Render("~/bundles/jquery")
    @System.Web.Optimization.Scripts.Render("~/bundles/jqueryval")
    @System.Web.Optimization.Scripts.Render("/bundles/GameStore/Util")
</head>
<body>
    <div id="main_container">
        <div class="top_bar">
            @{string usuarioLogeado = "";
              if (System.Web.Security.Membership.GetUser() != null)
              {
                  usuarioLogeado = System.Web.Security.Membership.GetUser().UserName;
                  <span>Hola&nbsp</span>@Html.ActionLink(usuarioLogeado, "UsuarioPerfil", "AdministracionCliente", new { area = "Cliente" }, null)
              }            
            }
            
            [
            @{            
                if (Request.IsAuthenticated)
                {
                @Html.ActionLink("Cerrar Sesión", "LogOff", "Perfil")
                }
                else
                {
                @Html.ActionLink("Iniciar Sesión", "LogIn", "Perfil")
                }
            }
            ]
        </div>
        <div id="header">
            <div id="logo">
                <a href="/Home">
                    <img src="/Images/GameStore/logo.png" alt="logo" title="" style="width: 50%;" />
                </a>
            </div>
        </div>
        <div id="main_content">
            <div id="menu_tab">
                <div class="left_menu_corner">
                </div>
                <ul class="menu">
                    <li>@Html.ActionLink("Pagína principal", "Index", "Home", new { area = "" }, new { @class = "nav1" })</li>
                    <li class="divider"></li>
                    <li>@Html.ActionLink("Xbox 360", "Xbox360", "Home", new { area = "" }, new { @class = "nav2" })</li>
                    <li class="divider"></li>
                    <li>&nbsp;@Html.ActionLink(" ", "Ps3", "Home", new { area = "", Tipo = "" }, new { @class = "nav3" })</li>
                    <li class="divider"></li>
                    <li>&nbsp;@Html.ActionLink("PS Vita", "PsVita", "Home", new { area = "", Tipo = "" }, new { @class = "nav4" })</li>
                    <li class="divider"></li>
                    <li>@Html.ActionLink(" ", "_3DS", "Home", new { area = "", Tipo = "" }, new { @class = "nav5" })</li>
                    <li class="divider"></li>
                    <li>@Html.ActionLink(" ", "Wii", "Home", new { area = "", Tipo = "" }, new { @class = "nav6" })</li>
                    <li class="divider"></li>
                    <li>@Html.ActionLink("Libro de Visitas", "LibroVisitas", "Home", new { area = "" }, new { @class = "nav7" })</li>
                    <li class="divider"></li>
                    <li>@Html.ActionLink("Sobre Nosotros", "Sobre", "Home", new { area = "" }, new { @class = "nav8" })</li>
                    <li class="divider"></li>
                </ul>
                <div class="right_menu_corner">
                </div>
            </div>
            <!-- end of menu tab -->
            <div class="crumb_navigation">
                <p>
                    Navegaci&oacute;n:
                </p>
            </div>
            @RenderBody()
        </div>
        <!-- end of main content -->
        <div class="footer">
            <div class="left_footer">
                <img src="/Images/GameStore/logo.png" alt="" title="" width="170" height="49" />
            </div>
            <div class="center_footer">
            </div>
            <div class="right_footer">
            </div>
        </div>
    </div>
    <!-- end of main_container -->
</body>
</html>
